package org.black.phoneUtility.sms.reply.content.broadcastReceiver;

import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class DeliverySmsBroadcastReceiver extends BroadcastReceiver {
	
	private static final String LOG_TAG = DeliverySmsBroadcastReceiver.class.getName();

	@Override
	public void onReceive(Context context, Intent intent) {
		int resultCode = getResultCode();
		Log.d(LOG_TAG, "result code : " + resultCode);
		switch (resultCode) {
		case Activity.RESULT_OK:
			Log.d(LOG_TAG, "Delivery OK!");
			break;
		case Activity.RESULT_CANCELED:
			Log.d(LOG_TAG, "Delivery Cancel!");
			break;
		}
	}

}
